global  _main
;;assemble with > nasm -fwin32 hello32.asm
;;Link with > gcc -m32 -mconsole hello32.obj -o hello32.exe

    extern  _printf
    section .text
_main:
    push    message
    call    _printf
    add     esp, 4

    mov eax,0  ;;return code of our program
    ret
message:
    db  'Hello, World', 10, 0